import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

const routes: Routes = [
  {path:"", redirectTo:"mobile-cooking",pathMatch:"full"},

  {
        path: 'mobile-cooking',
        loadChildren: () => import('../modules/mobile-cooking/mobile-cooking.module').then(m => m.MobileCookingModule)
    }
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule { }
